package com.nuoniu.sibanyun.entity.crm;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 收货人信息
 * </p>
 *
 * @author baiqiang
 * @since 2020-06-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("crm_consignee")
@ApiModel(value="CrmConsignee对象", description="收货人信息")
public class CrmConsignee extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "客户ID （必填）")
    @TableField("crm_id")
    private Integer crmId;

    @ApiModelProperty(value = "客户名称（必填）")
    @TableField("crm_name")
    private String crmName;

    @ApiModelProperty(value = "收货人（必填）")
    @TableField("consignee")
    private String consignee;

    @ApiModelProperty(value = "联系电话")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "手机号码")
    @TableField("mobile")
    private String mobile;

    @ApiModelProperty(value = "收货人地址")
    @TableField("consignee_address")
    private String consigneeAddress;

    @ApiModelProperty(value = "描述")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty(value = "创建人id")
    @TableField("create_user_id")
    private Integer createUserId;

    @ApiModelProperty(value = "创建人")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "修改人id")
    @TableField("update_user_id")
    private Integer updateUserId;

    @ApiModelProperty(value = "修改人")
    @TableField("update_user_name")
    private String updateUserName;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private Date createDate;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_date")
    private Date updateDate;

    @ApiModelProperty(value = "状态(0:正常 1:删除 2：停用)")
    @TableField("status")
    private Integer status;


}
